package com.example.callcenter.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.callcenter.entity.CallRecord;
import com.example.callcenter.dto.CallRecordDTO;

public interface ICallRecordService extends IService<CallRecord> {
    IPage<CallRecord> getByTaskId(Long taskId, int pageNum, int pageSize);
    IPage<CallRecord> getBySalesId(Long salesId, int pageNum, int pageSize);
    void saveRecord(CallRecordDTO recordDTO);
}
